/* Base styles */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  scrollbar-gutter: stable;
  overflow-y: auto;
}

html {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

/* Form element autofill styles */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

a {
  color: #ff00c3;
}

a:hover {
  color: #ff00c3;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
  color: #ff00c3;
}

/* Browser-specific elements */
#browser-actions {
  right: 0;
  overflow-x: hidden;
}

#browser-recorder {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  width: 100%; 
  height: calc(100vh - 2rem); 
  margin: 1rem; 
  overflow: hidden;
}

#browser-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column; 
  transform: scale(1);
  transform-origin: top left;
}

#browser-window {
  overflow-y: auto;
  height: 100%;
}

.right-side-panel {
  transform: scale(1);
  transform-origin: top left;
  overflow: hidden;
  position: relative;
}

.MuiButton-root[sx*="position: 'absolute'"] {
  bottom: 2rem !important;
  margin-bottom: 0 !important;
}